<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"
            +request.getServerName()+":"
            +request.getServerPort()+path+"/";
%>

<base href="<%=basePath%>">
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
    <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
</head>
<style>
    .listfrom{width: 600px; height: 500px; margin-left: 300px;margin-top: 100px}
</style>
<body>
<form action="${pageContext.request.contextPath}/addUser.do" method="post" class="listfrom">
    <%-- &lt;%&ndash;${pageContext.request.contextPath}/报错系列&ndash;%&gt; --%>
    <div class="form-row">
        <div class="form-group col-md-6">
            <label for="">工号</label>
            <input type="text" name="userid"  id="inputEmail4" class="form-control">
        </div>
    </div>
        <br/>
 <div class="form-row">
        <div class="form-group col-md-6">
            <label for="">密码</label>
            <input type="text" name="pwd"  id="inputEmail4" class="form-control">
        </div>
    </div>
       
           <br/>
            <div class="form-row">
        <div class="form-group col-md-6">
            <label for="">姓名</label>
            <input type="text" name="fullname"  id="inputEmail4" class="form-control">
        </div>
    </div>
     
    <button type="submit" class="btn btn-primary">提交</button>
</form>
</body>
</html>